package com.usian.apis.admin;

import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.models.auth.In;

public interface AdChannelControllerApi {
    ResponseResult findByNameAndPage(ChannelDto dto);
    ResponseResult save(AdChannel channel);
    ResponseResult update(AdChannel channel);
    ResponseResult deleteById(Integer id);
    /**
     * 查询所有频道
     * @return
     */
    public ResponseResult findAll();
}
